package cn.caplike.demo.repository.design.pattern.builder.entity;

/**
 * @author LiKe
 * @date 2019-06-26 13:43
 */
@SuppressWarnings("unused")
public class Person {
    private String firstName;
    private String middleName;
    private String lastName;

    public Person(String firstName, String middleName, String lastName) {
        this.firstName = firstName;
        this.middleName = middleName;
        this.lastName = lastName;
    }

    public String getFirstName() {
        return firstName;
    }

    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    public String getMiddleName() {
        return middleName;
    }

    public void setMiddleName(String middleName) {
        this.middleName = middleName;
    }

    public String getLastName() {
        return lastName;
    }

    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

    @Override
    public String toString() {
        return "Person{firstName='" + firstName + "', middleName='" + middleName + "', lastName='" + lastName + "'}";
    }
}
